import { createRouter, createWebHashHistory } from "vue-router"
const routes = [
  {
    path: "/",
    component: () => import("./views/index.vue")
  },
  {
    path: "/login",
    component: () => import("./views/login.vue")
  },
  {
    path: "/update",
    component: () => import("./views/update.vue")
  },
]

const router = createRouter({
  history: createWebHashHistory('/'),
  routes: routes
})

export default router